package com.odais.Reservation;

import org.andengine.entity.Entity;

import android.content.Context;

import com.odais.AE_Planner.SceneContext;

/**
 *
 * @author Lionel DECELLE
 * @since 8 juin 2012 - 10:51:23
 * 
 * ReservationEntity holds a Reservation and two graphical ReservationBox
 *
 */
public class ReservationEntity extends Entity
{
// ===========================================================
// Constants
// ===========================================================

// ===========================================================
// Fields
// ===========================================================

	private SceneContext mSceneContextLeft, mSceneContextRight;
	private Reservation mReservation;
	private ReservationBox mReservationBox_LeftPanel, mReservationBox_RightPanel;

// ===========================================================
// Constructors
// ===========================================================

public ReservationEntity(SceneContext sceneContextLeft, SceneContext sceneContextRight) {
	this.mSceneContextLeft = sceneContextLeft;
	this.mSceneContextRight = sceneContextRight;
	mReservation = new Reservation(null, null, 0, 0, null, 0, null, 0, null);
	mReservationBox_LeftPanel = new ReservationBox(this.mSceneContextLeft, 0, 0);
	mReservationBox_RightPanel = new ReservationBox(this.mSceneContextRight, 0, 0);

}


// ===========================================================
// Getter & Setter
// ===========================================================


public SceneContext getSceneContextLeft() {
	return mSceneContextLeft;
}

public void setSceneContextLeft(SceneContext sceneContext) {
	this.mSceneContextLeft = sceneContext;
}

public SceneContext getSceneContextRight() {
	return mSceneContextRight;
}

public void setSceneContextRight(SceneContext sceneContext) {
	this.mSceneContextRight = sceneContext;
}

public Reservation getReservation() {
	return mReservation;
}

public void setReservation(Reservation mReservation) {
	this.mReservation = mReservation;
}

public ReservationBox getReservationBox_LeftPanel() {
	return mReservationBox_LeftPanel;
}

public void setReservationBox_LeftPanel(
		ReservationBox mReservationBox_LeftPanel) {
	this.mReservationBox_LeftPanel = mReservationBox_LeftPanel;
}

public ReservationBox getReservationBox_RightPanel() {
	return mReservationBox_RightPanel;
}

public void setReservationBox_RightPanel(
		ReservationBox mReservationBox_RightPanel) {
	this.mReservationBox_RightPanel = mReservationBox_RightPanel;
}


public void setVisible_RightPanel(boolean b) {
	// TODO Auto-generated method stub
	
}


public Entity getSprite_RightPanel() {
	// TODO Auto-generated method stub
	return null;
}

	// ===========================================================
	// Methods for/from SuperClass/Interfaces
	// ===========================================================

	
}